<template>
  <div class="container-reports">
    <!-- 面包屑区域 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>数据统计</el-breadcrumb-item>
      <el-breadcrumb-item>数据报表</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- 卡片区域 -->
    <el-card>
        <div class="echarts-container"></div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'ReportIndex',
  created () {
    this.getEchartsData()
  },
  mounted () {
      let 
  },
  data () {
    return {}
  },
  methods: {
    async getEchartsData () {
      const { data } = await this.$http.get('reports/type/1')
      if (data.meta.status !== 200) return this.$message.error('数据异常，请稍后刷新重试...')

    }
  }
}
</script>

<style lang="less" scoped>
// 面包屑导航区域
.el-breadcrumb {
  margin-bottom: 12px;
}
</style>
